package com.exam.online.system.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * t_question
 * @author 
 */
public class Question implements Serializable {
    /**
     * 选择题目id
     */
    private Integer id;

    /**
     * 题目类型：1选择题 2判断题 3简答题
     */
    private Integer type;

    /**
     * 题目问题
     */
    private String title;

    /**
     * A选项
     */
    private String optiona;

    /**
     * b选项
     */
    private String optionb;

    private String optionc;

    private String optiond;

    /**
     * 答案
     */
    private String answer;

    /**
     * 题目分数
     */
    private Integer score;

    /**
     * 年级
     */
    private Integer grade;

    /**
     * 课程id
     */
    private Integer courseId;

    private Integer state;

    /**
     * 创建时间
     */
    private Date create;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getOptiona() {
        return optiona;
    }

    public void setOptiona(String optiona) {
        this.optiona = optiona;
    }

    public String getOptionb() {
        return optionb;
    }

    public void setOptionb(String optionb) {
        this.optionb = optionb;
    }

    public String getOptionc() {
        return optionc;
    }

    public void setOptionc(String optionc) {
        this.optionc = optionc;
    }

    public String getOptiond() {
        return optiond;
    }

    public void setOptiond(String optiond) {
        this.optiond = optiond;
    }

    public String getAnswer() {
        return answer;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getGrade() {
        return grade;
    }

    public void setGrade(Integer grade) {
        this.grade = grade;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreate() {
        return create;
    }

    public void setCreate(Date create) {
        this.create = create;
    }
}